home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / serial / dim-1.000 / dim-1 / dim-1.03 / INSTALL < prev    next >
Text File  |  1994-01-26  |  3KB  |  75 lines

  1.  
  2. These are the steps to follow when you want to install dim:
  3.  
  4.         1. Unpack the dim-X.YY.tar.gz file, using
  5.  
  6.                 tar xzvf dim-X.YY.tar.gz 
  7.         
  8.        from the current directory. GNU tar 1.11.2 was used to
  9.        create dim-X.YY.tar.gz
  10.  
  11.         2. You get subdirectories src, bin and examples, a document file
  12.        dim-X.YY.txt and a build-script.
  13.        
  14.        The dim...txt file contains a lot of information about setting up
  15.        you modem, kermit, gettydefs, getty.ttySx, etc. Read it when
  16.        you're ready for it. You don't need it for the installation proper.
  17.        
  18.         3. Start editing the file build. Look for the lines:
  19.     
  20.                 #define CONFDIM         "/conf/dim"
  21.                 #define DIMDEST        "/usr/local/bin"
  22.         
  23.            The dial-in getty.ttySx files will be stored at the CONFDIM
  24.        subdirectory. If you don't want this name, adapt this pathname in 
  25.        the file build *AND* in the file config.h.
  26.        
  27.        The dim program will be installed (*only* if you do 'build install')
  28.        in the path named with DIMDEST. Again, modify it if you want it
  29.        somewhere else.
  30.        
  31.        Check out other #defines in build: do you have all the programs
  32.        used by build? (this should be no problem, they're pretty standard)
  33.  
  34.         4. Edit src/config.h, and check (again, to be sure) CONFDIM and
  35.        other defines. Edit them if necessary. Pay attention to the
  36.        GETTYSTRING definition. This line *MUST* be found in your
  37.        ps -ax output. If you have another way of having getty look at 
  38.        the modem, adapt the line in config.h accordingly.
  39.        
  40.         5. When all #defines are the way you want them, do
  41.  
  42.                                 build dim
  43.         
  44.            This should build the (unstripped) program dim the bin subdirectory
  45.        created by tar. If dim is started without arguments, it will
  46.        give you usage information.
  47.        
  48.         6. Now that dim is created, you may want to install dim. To do that,
  49.        you must (probably) be root. Once you're root, go again to this
  50.        directory, and enter: 
  51.        
  52.                             build install
  53.         
  54.        You must copy examples/getty.ttyS3.* to the CONFDIM subdirectory,
  55.        and you may have to edit /etc/initab and /etc/gettydefs.
  56.        There are demo files in the examples subdirectory. 
  57.        Note that /etc/default/getty.ttySx is rewritten by dim, check
  58.        any special things you might have in you current 
  59.        /etc/default/getty.ttySx. Copy them in CONFDIM/getty.ttySx.org
  60.        if necessary *before* you start using dim.
  61.  
  62.         7. After having installed dim, having copied/adapted 
  63.        CONFDIM/getty.ttySx.*, having adapted /etc/gettydefs and
  64.        /etc/initab, dim can be used. Try dim -file to see if
  65.        your current getty.ttySx file is displayed. Then start
  66.        using the other options to enable or disable incoming calls.
  67.  
  68.         8. If you're getting stuck: start reading dim-X.YY.txt.
  69.        if anythings fails, or if questions remain, send an email.
  70.        
  71.  
  72.         Frank
  73.     
  74.     (frank@icce.rug.nl)
  75.